/*
 * @Author: zhangfan
 * @Date: 2024-06-21 11:56:22
 * @LastEditors: ***
 * @LastEditTime: 2024-06-26 14:09:39
 * @Description: 1
 * @FilePath: /demo/src/router/index.js
 */
import Vue from 'vue'
import VueRouter from 'vue-router'
import home from '../views/attrs/index.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    component: home
  }
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
